package com.newsproject.pojo;

public class Tag {
    private int tagId;    // 标签ID
    private String tagName;  // 标签名称
    private String tagDescription;  // 标签描述
    private int postNumber;     // 标签关联的帖子数量
    private int tagStatus;     // 标签状态（0：正常，1：禁用）

    public Tag() {
    }

    public Tag(int tagId, String tagName, String tagDescription, int postNumber, int tagStatus) {
        this.tagId = tagId;
        this.tagName = tagName;
        this.tagDescription = tagDescription;
        this.postNumber = postNumber;
        this.tagStatus = tagStatus;
    }

    public int getTagId() {
        return tagId;
    }

    public void setTagId(int tagId) {
        this.tagId = tagId;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getTagDescription() {
        return tagDescription;
    }

    public void setTagDescription(String tagDescription) {
        this.tagDescription = tagDescription;
    }

    public int getPostNumber() {
        return postNumber;
    }

    public void setPostNumber(int postNumber) {
        this.postNumber = postNumber;
    }

    public int getTagStatus() {
        return tagStatus;
    }

    public void setTagStatus(int tagStatus) {
        this.tagStatus = tagStatus;
    }
}
